home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d12 / csr_001.arc / CSRMENU.H < prev    next >
Text File  |  1988-09-02  |  896b  |  31 lines

  1. /*
  2. **  C S R M E N U . H
  3. **
  4. **  Menu structure definitions for use with the menu functions of 
  5. **  the C Spot Run C Add-On Library.
  6. **
  7. **  Copyright 1986 Bob Pritchett
  8. **
  9. **  Created: 08/08/86   Last Updated: 08/16/86
  10. **
  11. */
  12.  
  13. #define MAX_ENTRIES    15
  14.  
  15. typedef struct _mnu
  16.  {
  17.   char title[23];        /* Title of the menu */
  18.   int type;            /* Style of the border */
  19.   int border;            /* Window's border color */
  20.   int normal;            /* Color for unhighlighted items */
  21.   int bar;            /* Color for the highlight bar */
  22.   int row;            /* Upper left window row */
  23.   int col;            /* Upper left window column */
  24.   int num;            /* Number of enteries */
  25.   struct _ent
  26.    {
  27.     char text[25];        /* Item's name */
  28.     int value;            /* Return value for item / -1 Static */
  29.    } entry[MAX_ENTRIES];
  30.  } *MENU;
  31.